package com.wuchao.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Author wuchao66
 * @Date 2023/12/15 14:42
 * @PackageName:com.wuchao.vo
 * @ClassName: DepartVO
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_department")
@ApiModel(value="Department对象", description="")
public class DepartVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "系名")
    private String name;
    @ApiModelProperty(value = "部门个数")
    private String departcount;//ifnull函数

}